package org.neu.ccs.secureim;

import java.net.InetAddress;
import java.security.PublicKey;

public class ServerUserInfo extends UserInfo {

	byte[] salt;
	
	public ServerUserInfo(InetAddress location, int port, PublicKey pubKey, String userName, byte[] salt)
	{
		super(location, port, pubKey, userName);
		this.salt = salt;
	}
	
	public byte[] getSalt()
	{
		return salt;
	}
	
	public void setLocation(InetAddress newLocation, int newPort)
	{
		location = newLocation;
		port = newPort;
	}
}
